package net.moonbiter.ebs.validation;

public class WrongTypeValidationParamException extends ValidationParamException {
	private String expectedType;
	private String actualType;
	public WrongTypeValidationParamException(String paramName,
			String expectedType, String actualType) {
		super(paramName,"wrong type, expected "+expectedType+", actual is "
				+actualType);
		this.expectedType = expectedType;
		this.actualType = actualType;
	}
	public String getExpectedType() {
		return expectedType;
	}
	public String getActualType() {
		return actualType;
	}
}
